#ifndef Light_h__
#define Light_h__

#include "gl/glui.h"

class Light{
public:
	Light(float a[4], float d[4], float s[4], bool on, int lightX);
	void virtual act()=0;
	float * getAmbient();
	float * getDiffuse();
	float * getSpecular();
	void enable();
	void disable();
	int getLightX();
	bool isEnabled();
	void switchState();
	void setAttenuation( int v[3] );
private:
	float ambient[4], diffuse[4], specular[4];
	int lightX;
protected:
	bool enabled;
};
#endif // Light_h__